{{ template "header_start" . }}
{{ template "global" .}}
{{ template "bootstrap" .}}
{{ template "header_end" . }}

<script type="text/javascript">
	if (!window["WebSocket"]) {
        alert("你的浏览器不支持WebSockets，建议试试新版本或者用其它浏览器，推荐chrome, firefox, safari.");
	}
</script>

<section class="container">
<form class="form-horizontal" action="/chat/chat.html" method="post" accept-charset="utf-8">
    <div class="control-group">
        <label class="control-label" for="name">登录名：</label>
        <div class="controls">
            <input type="text" name="name" class="jk-input-text" placeholder="大名或者邮箱">
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="password">密码：</label>
        <div class="controls">
            <input type="password" name="password" class="jk-input-text" value="" placeholder="不冲突的名字不需要密码">
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
            <button class="btn btn-primary">登录</button>
        </div>
    </div>
</form>
</section>

{{ template "footer" }}